package com.hoperun.product.activity

import android.os.Bundle
import com.hoperun.distributecloth.R
import com.hoperun.product.base.BaseActivity
import kotlinx.android.synthetic.main.activity_cottonyarn_layout.*
import org.jetbrains.anko.sdk27.coroutines.onClick
import org.jetbrains.anko.startActivity

class CottonYarnStorageActivity  : BaseActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_cottonyarn_layout)
        initView()
    }

    fun initView(){
       inboundBtn.onClick { startActivity<InBoundActivity>() }
        outboundBtn.onClick { startActivity<OutBoundActivity>() }
        returnboundBtn.onClick { startActivity<ReturnBoundActivity>() }

    }


    override fun onPostHandle(requestType: Int, objBody: Any?, error: Boolean) {

    }
}